package demo8;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

@Configurable
@ComponentScan("demo8")
public class Config {
    @Bean
    public Student initStudent()
    {
        return new Student();
    }
}
